import axios from '@/libs/api.request';

/**
 * 上传评价
 */
export const pub = (data) => {
  return axios.request({
    url: 'Comment/pub',
    method: 'post',
    data
  })
};
/**
 * 获取评价
 */
export const getList = (data) => {
  return axios.request({
    url: 'Comment/getList',
    method: 'get',
    params:data
  })
};



